class CreateFleets < ActiveRecord::Migration
  def self.up
    create_table :fleets do |t|
      t.string :marca
      t.string :modelo
      t.integer :anhoFabricacion
      t.integer :numAsientos
      t.integer :numLlantas
      t.integer :numBusesDisp
      t.integer :numBusesNoDisp
      t.integer :numBuses
      t.integer :service_type_id
      t.string :placa

      t.timestamps
    end
  end

  def self.down
    drop_table :fleets
  end
end
